import Cookies from "js-cookie";
const TokenKey = "Admin-Token";
export function getToken() {
    return Cookies.get(TokenKey);
}
export function setToken(token) {
    Cookies.set(TokenKey, token, {
        expires: new Date(new Date().getTime() + 1 * 60 * 60 * 1000),
    });
}
export function removeToken() {
    Cookies.remove(TokenKey);
}
